﻿public static class GlobalMembersBitmapfont
{
	public static LCUI_FontBMP_ LCUI_FontBMP = new LCUI_FontBMP_();
	//-----------------------------END ----------------------------------


//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public string in_core_font_8x8();

	//* 打印字体位图的信息 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void FontBMP_PrintInfo(ref LCUI_FontBMP bitmap);

	//* 初始化字体位图 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void FontBMP_Init(ref LCUI_FontBMP bitmap);

	//* 释放字体位图占用的资源 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public void FontBMP_Free(ref LCUI_FontBMP bitmap);

	//* 创建字体位图 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int FontBMP_Create(ref LCUI_FontBMP bitmap, int width, int rows);

	//* 在屏幕打印以0和1表示字体位图 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int FontBMP_Print(ref LCUI_FontBMP fontbmp);

	//* 将字体位图绘制到目标图像上 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int FontBMP_Mix(LCUI_Graph_ graph, LCUI_Pos des_pos, ref LCUI_FontBMP bitmap, LCUI_RGB color, int flag);

	//* 载入字体位图 
//C++ TO C# CONVERTER TODO TASK: The implementation of the following method could not be found:
	//public int FontBMP_Load(ref LCUI_FontBMP buff, int font_id, char ch, int pixel_size);
//C++ TO C# CONVERTER TODO TASK: The following statement was not recognized, possibly due to an unrecognized macro:
	
}
//* ******************************************************************************
// * @file	bitmapfont.c
// * @brief	The Bitmap Font operation set.
// * @author	Liu Chao <lc-soft@live.cn>
// * @warning
// * Copyright (C) 2012-2013 by							\n
// * Liu Chao									\n
// * 										\n
// * This file is part of the LCUI project, and may only be used, modified, and	\n
// * distributed under the terms of the GPLv2.					\n
// * 										\n
// * (GPLv2 is abbreviation of GNU General Public License Version 2)		\n
// * 										\n
// * By continuing to use, modify, or distribute this file you indicate that you	\n
// * have read the license and understand and accept it fully.			\n
// *  										\n
// * The LCUI project is distributed in the hope that it will be useful, but 	\n
// * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 	\n
// * or FITNESS FOR A PARTICULAR PURPOSE. See the GPL v2 for more details.	\n
// * 										\n
// * You should have received a copy of the GPLv2 along with this file. It is 	\n
// * usually in the LICENSE.TXT file, If not, see <http://www.gnu.org/licenses/>.	\n
// * *****************************************************************************

//* ******************************************************************************
// * @file	bitmapfont.c
// * @brief	位图字体的操作集
// * @author	刘超 <lc-soft@live.cn>
// * @warning
// * 版权所有 (C) 2012-2013 归属于						\n
// * 刘超										\n
// * 										\n
// * 这个文件是LCUI项目的一部分，并且只可以根据GPLv2许可协议来使用、更改和发布。	\n
// * 										\n
// * (GPLv2 是 GNU通用公共许可证第二版 的英文缩写)				\n
// * 										\n
// * 继续使用、修改或发布本文件，表明您已经阅读并完全理解和接受这个许可协议。	\n
// * 										\n
// * LCUI 项目是基于使用目的而加以散布的，但不负任何担保责任，甚至没有适销性或特定\n
// * 用途的隐含担保，详情请参照GPLv2许可协议。					\n
// * 										\n
// * 您应已收到附随于本文件的GPLv2许可协议的副本，它通常在LICENSE.TXT文件中，如果	\n
// * 没有，请查看：<http://www.gnu.org/licenses/>. 				\n
// * *****************************************************************************



public class LCUI_FontBMP_
{
	public int top; // 与顶边框的距离 
	public int left; // 与左边框的距离 
	public int width; // 位图宽度 
	public int rows; // 位图行数 
	public int pitch;
	public byte buffer; // 字体位图数据 
	public short num_grays;
	public sbyte pixel_mode;
	public LCUI_Pos_ advance = new LCUI_Pos_(); // XY轴的跨距 
}
//------------------- END ---------------------

//------------------------ 宽字符位图及相关数据 -----------------------
public class LCUI_WChar_
{
	public char char_code; // 字符码 
	//public GlobalMembersBitmapfont.LCUI_FontBMP bitmap; // 字符的位图数据 
	//public LCUI_RGB color = new LCUI_RGB(); // 该文字的配色 
	public LCUI_BOOL update = new LCUI_BOOL(); // 标明这个字符是否需要刷新 
	public int color_type; // 颜色类型(DEFAULT / CUSTOM) 
}
